#ifndef EXPORTWORKER_H
#define EXPORTWORKER_H
#include <QThread>
#include <QTimer>
#include <QDebug>

class ExportWorker : public QThread
{
    Q_OBJECT

public:
    static ExportWorker* getInstance();
    void startWork(int number);
    void stopWork();

private:
    ExportWorker();
    QString g_number;
    void exportWork();

protected:
    void run();

signals:
    void startWorkSignal();
    void exportErrorSignal();
    void completeWorkSignal();
};

#endif // EXPORTWORKER_H
